package com.shopx.auth.dao.db1;

import com.shopx.auth.bean.SysUserCp;
import com.shopx.auth.model.SysUserCpModel;
import com.shopx.dal.mysql.SqlMapper;

import java.util.List;

/**
 * TODO
 * @author lituo
 * @className: SysUserCp
 * @date 2023-05-23
 */
@SqlMapper
public interface SysUserCpDao {
    /**
     * 查询明细记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return SysUserCpModel
     */
    SysUserCpModel selectByPrimaryKey(SysUserCp sysUserCp);
    /**
     * 新增记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
	int insertSelective(SysUserCp sysUserCp);

    /**
     * 修改记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
	int updateByPrimaryKeySelective(SysUserCp sysUserCp);

    /**
     * 删除记录
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
	int deleteByPrimaryKey(SysUserCp sysUserCp);

    /**
     * 查询总记录数
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return int
     */
	int selectCount(SysUserCpModel sysUserCp);

    /**
     * 查询列表
     * @author lituo
     * @date 2023-05-23
     * @param sysUserCp
     * @return List<SysUserCpModel>
*/
	List<SysUserCpModel> selectList(SysUserCpModel sysUserCp);
}

